<?php

namespace App\Models\UCenter;

use App\Models\BaseModel;

class Entrust extends BaseModel
{
    public $dateFormat = 'Y-m-d H:i:s';
    protected $table = 'entrust';

    public function wayBill(){
        return $this->belongsTo('App\Models\Cargo\WayBill','waybill_id','id');
    }

    public function car(){
        return $this->belongsTo('App\Models\Car\Car','car_card','number');
    }

}
